#ifndef __jdma_H__
#define __jdma_H__

#ifdef __cplusplus
extern "C" {
#endif

#include "lv_drv_conf.h"

#if USE_CRANE_CAMERA && USE_CRANE_JPU
#include <stdint.h>

int jpu_dma_regs_dump(void);
int jpu_dma_regs_check(void);
void jpu_dma_trigger(void);
int jpu_dma_cfg(uint32_t width, uint32_t height, uint32_t pitch,
         uint32_t rot, uint32_t y_base_addr, uint32_t u_base_addr);

#endif /* USE_CRANE_CAMERA */

#ifdef __cplusplus
} /* extern "C" */
#endif

#endif
